package com.example.service;

import com.example.entity.IndicatorMetadata;
import com.example.mapper.IndicatorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndicatorService {
    @Autowired
    private IndicatorMapper indicatorMapper;
    
    public List<IndicatorMetadata> getTableIndicators(String tableCode) {
        return indicatorMapper.findByTableCode(tableCode);
    }
}